Skip to content

Feat/todo assignment#9

Open
Nordoub wants to merge 9 commits intolevizimmerman:developfrom
Nordoub:feat/todo-assignment
Open

Feat/todo assignment#9
Nordoub wants to merge 9 commits intolevizimmerman:developfrom
Nordoub:feat/todo-assignment

Conversation

@Nordoub
Copy link
Copy Markdown

@Nordoub Nordoub commented Mar 2, 2023

Finished all todo's including the bonus one.

  • Add the 'Roboto' font from Google fonts and add it as a global CSS var called --font-primary.
  • Make application responsive. It is already for the most part, but it is not optimal for smaller screens.
  • Create separate styles for .primary and .secondary variants of the button component.
  • Write a custom hook to set form fields in a more generic way.
  • Fetch addresses based on houseNumber and zipCode.
  • Create generic component to display form rows, legend and a submit button.
  • Create an component for displaying an error message.
  • Add a button to clear all form fields. Button must look different from the default primary button, see design.
  • Add conditional classNames for primary and secondary variant in component
  • Prevent duplicate addresses.
  • Write a state update which removes an address from the addresses array.
  • BONUS: Add loading indicator in UI while fetching addresses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant